package com.example.commentserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class TalkVO {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="发送方id", example = "1")
    private String postId;
    @ApiModelProperty(value="发送方头像", example = "url")
    private String postPhoto;
    @ApiModelProperty(value="接受方id", example = "1")
    private String getId;
    @ApiModelProperty(value="内容", example = "真不错")
    private String context;
    @ApiModelProperty(value="创建时间")
    private Date time;
    @ApiModelProperty(value = "阅读状态", example = "1")
    private int readed;
}
